<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: example/flyweight.cpp 文件参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_cfafba98a580ce4b62f8a6fa96d7cbb0.html">example</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#define-members">宏定义</a> &#124;
<a href="#func-members">函数</a>  </div>
  <div class="headertitle"><div class="title">flyweight.cpp 文件参考</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;iostream&gt;</code><br />
<code>#include &lt;string&gt;</code><br />
<code>#include &quot;<a class="el" href="../../d5/d66/flyweight_8hpp_source.html">designM/flyweight.hpp</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
flyweight.cpp 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d2/d74/flyweight_8cpp__incl.png" border="0" usemap="#aexample_2flyweight_8cpp" alt=""/></div>
<map name="aexample_2flyweight_8cpp" id="aexample_2flyweight_8cpp">
<area shape="rect" title=" " alt="" coords="39,5,190,32"/>
<area shape="rect" title=" " alt="" coords="5,80,77,107"/>
<area shape="poly" title=" " alt="" coords="103,34,66,71,63,67,100,31"/>
<area shape="rect" title=" " alt="" coords="36,229,89,256"/>
<area shape="poly" title=" " alt="" coords="114,33,71,215,66,214,109,32"/>
<area shape="rect" href="../../d5/d66/flyweight_8hpp.html" title=" " alt="" coords="211,80,362,107"/>
<area shape="poly" title=" " alt="" coords="145,30,243,71,241,76,143,35"/>
<area shape="rect" title=" " alt="" coords="598,229,655,256"/>
<area shape="poly" title=" " alt="" coords="317,105,429,152,585,220,583,225,427,157,315,110"/>
<area shape="rect" title=" " alt="" coords="203,155,250,181"/>
<area shape="poly" title=" " alt="" coords="278,109,248,145,244,141,274,106"/>
<area shape="rect" href="../../d9/d7a/variant_8hpp.html" title=" " alt="" coords="274,155,416,181"/>
<area shape="poly" title=" " alt="" coords="299,106,327,141,323,144,294,109"/>
<area shape="poly" title=" " alt="" coords="290,185,105,231,103,226,289,179"/>
<area shape="poly" title=" " alt="" coords="400,179,583,226,582,231,398,185"/>
<area shape="rect" title=" " alt="" coords="506,229,574,256"/>
<area shape="poly" title=" " alt="" coords="380,179,492,221,490,226,378,184"/>
<area shape="rect" title=" " alt="" coords="113,229,196,256"/>
<area shape="poly" title=" " alt="" coords="313,184,203,226,201,221,311,179"/>
<area shape="rect" title=" " alt="" coords="219,229,287,256"/>
<area shape="poly" title=" " alt="" coords="331,184,282,222,279,218,327,180"/>
<area shape="rect" title=" " alt="" coords="311,229,379,256"/>
<area shape="poly" title=" " alt="" coords="348,182,348,214,342,214,342,182"/>
<area shape="rect" title=" " alt="" coords="403,229,482,256"/>
<area shape="poly" title=" " alt="" coords="364,180,415,218,412,222,360,184"/>
</map>
</div>
</div>
<p><a href="../../dd/dd6/flyweight_8cpp_source.html">浏览该文件的源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d5e/class_airplane.html">Airplane</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:a7766293954bda6e102f9e7bbf1150bc4" id="r_a7766293954bda6e102f9e7bbf1150bc4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7766293954bda6e102f9e7bbf1150bc4">FLYWEIGHT_USE_VARIANT</a>&#160;&#160;&#160;(0)</td></tr>
<tr class="separator:a7766293954bda6e102f9e7bbf1150bc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">宏定义说明</h2>
<a id="a7766293954bda6e102f9e7bbf1150bc4" name="a7766293954bda6e102f9e7bbf1150bc4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7766293954bda6e102f9e7bbf1150bc4">&#9670;&#160;</a></span>FLYWEIGHT_USE_VARIANT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FLYWEIGHT_USE_VARIANT&#160;&#160;&#160;(0)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../dd/dd6/flyweight_8cpp_source.html">flyweight.cpp</a> 第 <a class="el" href="../../dd/dd6/flyweight_8cpp_source.html#l00004">4</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">函数说明</h2>
<a id="ae66f6b31b5ad750f1fe042a706a4e3d4" name="ae66f6b31b5ad750f1fe042a706a4e3d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae66f6b31b5ad750f1fe042a706a4e3d4">&#9670;&#160;</a></span>main()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int main </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../dd/dd6/flyweight_8cpp_source.html">flyweight.cpp</a> 第 <a class="el" href="../../dd/dd6/flyweight_8cpp_source.html#l00022">22</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../dd/dd6/flyweight_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.png" border="0" usemap="#add/dd6/flyweight_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph" alt=""/></div>
<map name="add/dd6/flyweight_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph" id="add/dd6/flyweight_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph">
<area shape="rect" title=" " alt="" coords="5,56,55,83"/>
<area shape="rect" href="../../dc/d5e/class_airplane.html#ac57c70c5c3eaab6853324d72106c9bd9" title=" " alt="" coords="143,5,237,32"/>
<area shape="poly" title=" " alt="" coords="54,58,102,41,127,34,129,39,104,47,56,63"/>
<area shape="rect" href="../../dc/d5e/class_airplane.html#a77ae83f9bdd90e7a7bd0caf9ddce2992" title=" " alt="" coords="143,56,237,83"/>
<area shape="poly" title=" " alt="" coords="55,67,127,67,127,72,55,72"/>
<area shape="rect" href="../../d5/da3/classwheels_1_1dm_1_1flyweight.html#aecc25a056ac2858e7ee8571e19c95245" title=" " alt="" coords="103,107,277,133"/>
<area shape="poly" title=" " alt="" coords="56,76,104,92,126,99,124,104,102,97,54,81"/>
<area shape="rect" href="../../dd/d54/classwheels_1_1variant.html#aec8c6372866cf7fd422a96e1164aa5c3" title="构建数据对象" alt="" coords="325,107,474,133"/>
<area shape="poly" title=" " alt="" coords="277,117,310,117,310,123,277,123"/>
</map>
</div>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
